<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>


    </style>
</head>
<body>
<div id="app">
    <!--文本框 文本域-->
    <input type="text" v-model.trim="msg">
    <input type="text" v-model.number="msg">
    <input type="text" v-model.lazy="msg">
</div>
</body>
<script src="../js/vue.js"></script>
<script>
    Vue.config.productionTip = false;
    new Vue({
        el:"#app",
        data:{
            msg:"xxx"
        }
    })
</script>
</html>